package mypackage;

import java.io.File;

public class FileTest {

    public static void main(String[] args) {
        File file = new File("C:\\Users\\hz21076971\\Desktop\\Desktop\\picture\\头像.jpg");
        System.out.println(file.getName());
    }
}
